package com.hevery.exception;

/**
 * @Author: zhy
 * @Description: 自定义异常，返回自己想要的异常格式
 * @Date: Created on 2017/10/7
 * @Modified By:
 */
public class UserNotExistException extends RuntimeException{
    private String id;

    public UserNotExistException(String id) {
        super("user not exist");
        this.id = id;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }
}
